package bairui.international.console.web.controller.advance.property;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

import com.lianjing.sh.project.config.web.Project_Config_Web_PageTemplate;
import com.lianjing.sh.spring.web.controller.base.action.Action;
import com.lianjing.sh.spring.web.controller.enhance.module.context.ModuleContext;
import com.lianjing.sh.spring.web.controller.enhance.navigations.context.NavigationContext;

/**
 *
 * 添加
 *
 * @generated
 * 
 * @see STest_C_Advance_Property_Add_AddAccess 测试
 *
 */
@Controller
public class C_Advance_Property_Add_AddAccess
 extends SC_Advance_Property_Add_AddAccess 
{

	/**
	 * 访问添加页面
	 */
	@Action(AddAccess.class)
	@GetMapping(AddAccess.RequestMappingValue)
	public ModelAndView addAccess(
		ModelMap map, HttpServletRequest request,
		NavigationContext navigationContext, ModuleContext moduleContext
	) throws Exception {
		/* 模块 */
		moduleContext
			.addModule(module_Add.module(
					new C_Advance_Property_Add_Add.Add.Operate(){
					}
				));
		//
		return Project_Config_Web_PageTemplate.Admin_Common(request);
	}

}
